# coding=utf-8

# import zipfile
# file = 'kuai-2.2.1.10-rele.encryptd-lgu.apk'

# if 'encrypted' in file:
#     jiaguType = '360'
#     print '1'
# elif 'legu' in file:
#     jiaguType = 'legu'
#     print '2'
# else:
#     print 'can not find any jiaguPKG'

# x = '/Users/config/Desktop/kuainiao_channel/targetApks/kuaiNiao-2.2.1.10-release.encrypted_10900001.apk'


# # zip获取新建立的apk文件
# zipped = zipfile.ZipFile(x, 'a', zipfile.ZIP_DEFLATED)

# y = zipped.namelist()
# #print y
# # 关闭zip流

# for str in y:
#     if 'channel' in str:
#         print str
        


# zipped.close()


# cmd = 'jarsigner -digestalg SHA1 -sigalg MD5withRSA -keystore '+' -storepass '\
#       +' -keypass ' +' -signedjar '  + ' ' 

# print cmd

class A:
    def a(y):
        B(y).b(y)

class B:

    def b(x):
        print x
        
print A('r').a('t')


